// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#if !defined(AFX_STDAFX_H__61A31CEB_9707_11D1_ACAB_0000E823DBFD__INCLUDED_)
#define AFX_STDAFX_H__61A31CEB_9707_11D1_ACAB_0000E823DBFD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define   WINVER   0x0502   //支持Win2003


//#define OEM   01
#define PRO 03
// #define TEST 04

#define VC_EXTRALEAN		// Exclude rarely-used stuff from Windows headers

#include <afxwin.h>         // MFC core and standard components
#include <afxext.h>         // MFC extensions
#include <afxdisp.h>        // MFC Automation classes
#include <afxdtctl.h>		// MFC support for Internet Explorer 4 Common Controls
#include <afxtempl.h>
#include <wininet.h>


#include "resource.h"
#include "STKDRV.H"
#include "stockdrv.h"
#include "defs.h"
#include "StructCShares.h"
#include "CSharesBaseInfo.h"
#include "CSharesInformation.h"
#include "CSharesCompute.h"
#include "StructKlineView.h"
#include "ManagerStockTypeData.h"
#include "JiShuColumnInfo.h"
#include "CSharesBigBillData.h"
#include "CFormularCompute.h"
#include <afxdao.h>
#include "Funclist.h"

#include "HtmlHelp.h"

#include "ClientTransmitManageWnd.h"
#include "global.h"

#include <XTToolkitPro.h>   // Codejock Software Components

#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>			// MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT


#include "BtnST.h"
//#include "atlstr.h"//2020.5.20
//#include	"../dll/stdafx.h"
//#include "KlineShowView.h"
//#include	"../dll/Formular/CFormularCompute.h"//2020.8.3
//
//#ifndef LIB_H 
//#define LIB_H extern "C" int _declspec(dllexport)add(int x,int y); 
//#endif
////#include	"../dll/StdAfx.h"

/////////////////////
//请尽量把一些数据,用json的方式去获取一些公开的数据的，省事点,没必要维护。如除权,除息等
/////////////////////
//PS:除权,除息,谁能在internat上找到一些公开的数据源，用json加上异步来更新吧,以免卡顿，人工维护很麻烦..2020.8.1

const char g_realtime[64] = "Data\\RealtimeData";//stockdata.dat";//RealtimeData
const char g_caiwudata[64] = "Data\\finacial.dat";//或请更改为json方式来更新.
const char g_baseinfo[64] = "Data\\companybasedata.dat";//基本资料数据文件,包括股本等，或请更改为json方式来更新.
const char g_stocktypeinfo[64] = "Data\\blockinfo.dat";//个股所属的板块，或概念,或请更改为json方式来更新.
const char g_blockdir[64] = "block\\";
const char g_hzpy[64] = "Data\\languagedata.dat";
const char g_rate[64] = "Data\\stockrate.dat";
const char g_xtsx_hz[64] = "Data\\systemsetting.dat";//系统设置
const char g_kxzh_hz[64] = "Data\\klinegroup.dat";
const char g_tixg_hz[64] = "Data\\screendata.dat";
const char g_zbgs_hz[64] = "Data\\indexdata.dat";//指标公式

const char g_daysh[64] = "Data\\sh\\daykline.dat";
const char g_daysz[64] = "Data\\sz\\daykline.dat";
const char g_minutesh[64] = "Data\\sh\\minutekline.dat";
const char g_minutesz[64] = "Data\\sz\\minutekline.dat";
const char g_buysellsh[64] = "Data\\sz\\tick.dat";
const char g_buysellsz[64] = "Data\\sh\\tick.dat";

////你的加密私钥，建议8位
const char you_gs_key[9]="12345678";////你公式的私钥,注意保存，及改变前，要保证软件中没有加密公式。防止2次加密不可读
////你的加密私钥，建议8位
////注：在修改这个私钥前，请先将MA公式密码(password:123456）去掉，这是软件唯一个，有加密的公式，为了防止2次加密，
//否则会导致公式不可用，及软件出错。。。
////然后，改变你的加密私钥，并重新加密回来。。。

const CString g_sF10sh = "Data\\sh\\f10\\";
const CString g_sF10sz = "Data\\sz\\f10\\";

const char g_stock_name[64]  = "Data\\StockName.dat";//股票名字列表



//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__61A31CEB_9707_11D1_ACAB_0000E823DBFD__INCLUDED_)
